// 创建vuex模块
// import Vue from 'vue'
// import Vuex from 'vuex'

// import actions from 'actions'
// import mutations from 'mutations'
// import state from 'state'

// Vue.use(Vuex)

// export default new Vuex.Store({
//   actions,
//   mutations,
//   state
// })

import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'
import actions from './actions'

Vue.use(Vuex)

export default new Vuex.Store({
  state,
  mutations,
  actions
})
